package com.fs.controller.vo;

import java.util.ArrayList;
import java.util.List;

public class PageData<T> {
    private List<T> results = new ArrayList<>();
    private Long total;

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public PageData(){

    }
    public PageData(List<T> results, Long total) {
        this.results = results;
        this.total = total;
    }

}
